﻿using System;
using System.Data;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using Data = VietStar.Library.Data;
using Entity = VietStar.Library.Entity;

namespace VietStar.Library.Business
{
    public class HinhAnh
    {
        public HinhAnh() { }
        Data.HinhAnh hinhanh = new Data.HinhAnh();
        public bool Insert(Entity.HinhAnh entity)
        {
            return hinhanh.Insert(entity);
        }
        public DataTable Select(Entity.HinhAnh entity)
        {
            return hinhanh.Select();
        }
        public DataTable SelectPrimarykey(Entity.HinhAnh entity)
        {
            return hinhanh.SelectPrimaryKey(entity);
        }
        public DataTable SelectTheoChuDe(Entity.HinhAnh entity)
        {
            return hinhanh.SelectTheoChuDe(entity);
        }
        public DataTable SelectTimKiem(Entity.HinhAnh entity)
        {
            return hinhanh.SelectTimKiem(entity);
        }
        public bool Update(Entity.HinhAnh entity)
        {
            return hinhanh.Update(entity);
        }
        public bool Update_TrangThai(Entity.HinhAnh entity)
        {
            return hinhanh.Update_TrangThai(entity);
        }
        public bool Delete(Entity.HinhAnh entity)
        {
            return hinhanh.Delete(entity);
        }
        public bool Delete_TheoChuDe(Entity.HinhAnh entity)
        {
            return hinhanh.Delete_TheoChuDe(entity);
        }
    }
}
